@echo off
cd "..\classes"
java IC.Compiler ..\test\ContextIlegal\Arrays1.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\Arrays1.out
java IC.Compiler ..\test\ContextIlegal\Arrays2.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\Arrays2.out
java IC.Compiler ..\test\ContextIlegal\BadSigCall1.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\BadSigCall1.out
java IC.Compiler ..\test\ContextIlegal\BadSigCall2.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\BadSigCall2.out
java IC.Compiler ..\test\ContextIlegal\BadSigCall3.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\BadSigCall3.out
java IC.Compiler ..\test\ContextIlegal\BinaryOp1.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\BinaryOp1.out
java IC.Compiler ..\test\ContextIlegal\BinaryOp2.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\BinaryOp2.out
java IC.Compiler ..\test\ContextIlegal\BinaryOp3.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\BinaryOp3.out
java IC.Compiler ..\test\ContextIlegal\BinaryOp4.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\BinaryOp4.out
java IC.Compiler ..\test\ContextIlegal\BinaryOp5.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\BinaryOp5.out
java IC.Compiler ..\test\ContextIlegal\BreakOutsideLoop.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\BreakOutsideLoop.out
java IC.Compiler ..\test\ContextIlegal\Class1.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\Class1.out
java IC.Compiler ..\test\ContextIlegal\Class2.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\Class2.out
java IC.Compiler ..\test\ContextIlegal\Class3.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\Class3.out
java IC.Compiler ..\test\ContextIlegal\Class4.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\Class4.out
java IC.Compiler ..\test\ContextIlegal\Class5.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\Class5.out
java IC.Compiler ..\test\ContextIlegal\Class6.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\Class6.out
java IC.Compiler ..\test\ContextIlegal\ContinueOutsideLoop.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\ContinueOutsideLoop.out
java IC.Compiler ..\test\ContextIlegal\FieldMethodSameName.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\FieldMethodSameName.out
java IC.Compiler ..\test\ContextIlegal\Flow1.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\Flow1.out
java IC.Compiler ..\test\ContextIlegal\Flow2.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\Flow2.out
java IC.Compiler ..\test\ContextIlegal\Flow3.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\Flow3.out
java IC.Compiler ..\test\ContextIlegal\Flow4.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\Flow4.out
java IC.Compiler ..\test\ContextIlegal\Flow5.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\Flow5.out
java IC.Compiler ..\test\ContextIlegal\Flow6.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\Flow6.out
java IC.Compiler ..\test\ContextIlegal\IfElseIfBad.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\IfElseIfBad.out
java IC.Compiler ..\test\ContextIlegal\InitVar1.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\InitVar1.out
java IC.Compiler ..\test\ContextIlegal\InitVar2.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\InitVar2.out
java IC.Compiler ..\test\ContextIlegal\InitVar3.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\InitVar3.out
java IC.Compiler ..\test\ContextIlegal\InitVar4.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\InitVar4.out
java IC.Compiler ..\test\ContextIlegal\InitVar5.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\InitVar5.out
java IC.Compiler ..\test\ContextIlegal\InitVar6.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\InitVar6.out
java IC.Compiler ..\test\ContextIlegal\MainWithBadSig.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\MainWithBadSig.out
java IC.Compiler ..\test\ContextIlegal\MultipleMains.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\MultipleMains.out
java IC.Compiler ..\test\ContextIlegal\NoMain.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\NoMain.out
java IC.Compiler ..\test\ContextIlegal\NonExisting1.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\NonExisting1.out
java IC.Compiler ..\test\ContextIlegal\NonExisting2.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\NonExisting2.out
java IC.Compiler ..\test\ContextIlegal\NonExisting3.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\NonExisting3.out
java IC.Compiler ..\test\ContextIlegal\NoReturn.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\NoReturn.out
java IC.Compiler ..\test\ContextIlegal\Overflow.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\Overflow.out
java IC.Compiler ..\test\ContextIlegal\Return1.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\Return1.out
java IC.Compiler ..\test\ContextIlegal\Return2.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\Return2.out
java IC.Compiler ..\test\ContextIlegal\Return3.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\Return3.out
java IC.Compiler ..\test\ContextIlegal\Return4.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\Return4.out
java IC.Compiler ..\test\ContextIlegal\ReturnOnlyInIf.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\ReturnOnlyInIf.out
java IC.Compiler ..\test\ContextIlegal\ReturnOnlyInWhile.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\ReturnOnlyInWhile.out
java IC.Compiler ..\test\ContextIlegal\StaticFromInstance.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\StaticFromInstance.out
java IC.Compiler ..\test\ContextIlegal\StaticMethodStaticMethodConflict.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\StaticMethodStaticMethodConflict.out
java IC.Compiler ..\test\ContextIlegal\StaticMethodVirtualMethodConflict.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\StaticMethodVirtualMethodConflict.out
java IC.Compiler ..\test\ContextIlegal\ThisInStatic.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\ThisInStatic.out
java IC.Compiler ..\test\ContextIlegal\ThisInStaticBlock.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\ThisInStaticBlock.out
java IC.Compiler ..\test\ContextIlegal\UnknownField.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\UnknownField.out
java IC.Compiler ..\test\ContextIlegal\UnknownMethod.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\UnknownMethod.out
java IC.Compiler ..\test\ContextIlegal\UnknownStaticMethod.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\UnknownStaticMethod.out
java IC.Compiler ..\test\ContextIlegal\UnknownVar.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\UnknownVar.out
java IC.Compiler ..\test\ContextIlegal\VarParamSameName.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\VarParamSameName.out
java IC.Compiler ..\test\ContextIlegal\VarUseBeforeDeclaration.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\VarUseBeforeDeclaration.out
java IC.Compiler ..\test\ContextIlegal\VarUseOnInit.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\VarUseOnInit.out
java IC.Compiler ..\test\ContextIlegal\VarVarSameName.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\VarVarSameName.out
java IC.Compiler ..\test\ContextIlegal\VirtualMethodStaticMethodConflict.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\VirtualMethodStaticMethodConflict.out
java IC.Compiler ..\test\ContextIlegal\VirtualMethodVirtualMethodConflict.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\VirtualMethodVirtualMethodConflict.out
cd "C:\Users\nimrod\Studies\Year3\Semester A\Compilation\Compiler\pa3\test\"
